﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCode.Project.Domain.Message.Request.User
{
    public class GetTokenRequest
    {
        public string JsCode { get; set; }

        public string EncryptedData { get; set; }

        public string Iv { get; set; }

        /// <summary>
        ///  小程序进入的参数，比如id,小程序码产生传参为scene
        /// </summary>
        public string Scene { get; set; }

        /// <summary>
        /// 账号
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string PassWord { get; set; }

        /// <summary>
        ///   11=总部管理者; 12=盟商 ; 13 =店员
        /// </summary>           
        public int? RoleType { get; set; }

        /// <summary>
        /// 登录方式 0=微信捆绑手机号登录  1=手动输入账号密码登录
        /// </summary>
        public int LoginType { get; set; }
    }


    public class SaveCodeRequest
    {
        public string JsCode { get; set; }     

    }

    public class GetTokenByWxPhoneRequest
    {
        public string JsCode { get; set; }

        public string EncryptedData { get; set; }

        public string Iv { get; set; }      

        /// <summary>
        ///   11=总部管理者; 12=加盟商 ; 13 =店员 , 14=测试店员; 15 测试店长  16 测试加盟商
        /// </summary>           
        public int? RoleType { get; set; }
    }




    public class SaveWxInfoRequest
    {
        public string JsCode { get; set; }

        public string EncryptedData { get; set; }

        public string Iv { get; set; }
       
    }

    public class GetLoginInfo
    {
        /// <summary>
        /// 识别合法的请求Key
        /// </summary>
        public string Key { get; set; }

        /// <summary>
        /// 账号
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string PassWord { get; set; }

    }


    public class GetShopClerk
    {
        /// <summary>
        /// 识别合法的请求Key
        /// </summary>
        public string Key { get; set; }

        /// <summary>
        /// 店铺编码数组
        /// </summary>
        public List<string> ShopCode { get; set; }

    }

    public class GetUserId
    {
        /// <summary>
        /// 识别合法的请求Key
        /// </summary>
        public string Key { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public Guid UserId { get; set; }

    }

    public class GetOrganizationUser
    {
        /// <summary>
        /// 识别合法的请求Key 
        /// </summary>
        public string Key { get; set; }

        /// <summary>
        /// 组织ID
        /// </summary>
        public Guid OrganizationId { get; set; } 
       
    }
}
